package cn.hairui.fastms.core.bean;

import cn.hairui.fastms.core.annotation.Dict;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 机构信息
 * </p>
 *
 * @author lihairui
 * @since 2020-12-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "SBch对象", description = "机构信息")
public class SBch implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "机构代码")
    @TableId("BCH_CDE")
    private String bchCde;

    @ApiModelProperty(value = "机构名称")
    @TableField("BCH_NAME")
    private String bchName;

    @ApiModelProperty(value = "机构联系人姓名")
    @TableField("BCH_CONT_USR")
    private String bchContUsr;

    @ApiModelProperty(value = "机构联系人电话")
    @TableField("BCH_CONT_TEL")
    private String bchContTel;

    @ApiModelProperty(value = "机构地址")
    @TableField("BCH_ADDR")
    private String bchAddr;

    @ApiModelProperty(value = "机构状态")
    @TableField("BCH_STS")
    @Dict(dictCode = "ZB_EFFECT_STATUS")
    private String bchSts;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_USER")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private String createTime;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATE_TIME")
    private String updateTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_USER")
    private String updateUser;


}
